package com.rightsidetech.mall.dto.log.request;

import com.rightsidetech.commom.base.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class MallLogPageReq extends PageRequest implements Serializable {

    @ApiModelProperty("商品名称")
    private String commodityName;

    @ApiModelProperty("商城")
    private String commodityMarketName;

    @ApiModelProperty("操作")
    private String operate;

    @ApiModelProperty("开始时间 yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @ApiModelProperty("结束时间 yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}
